#ifndef SETTINGDIALOG_H
#define SETTINGDIALOG_H

#include <QDialog>
#include "setting.h"

QT_BEGIN_NAMESPACE
namespace Ui { class SettingDialog; }
QT_END_NAMESPACE

class SettingDialog : public QDialog
{
    Q_OBJECT
public:
    SettingDialog(const QList<Setting>& list, QWidget* parent = nullptr);
    ~SettingDialog();
    QList<Setting> getSettings();

private:
    Ui::SettingDialog *ui;
};

#endif // SETTINGDIALOG_H
